home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
(A)M
/
(A)M3.ADF
/
Sounds.02.doc
< prev
next >
Wrap
Text File
|
1989-07-10
|
6KB
|
141 lines
______________________________________________
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// // // //~~~~~ // // //~~~~~
// // // // // // // _
// // // // // // // //
~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ sm
Champaign-Urbana Commodore Users Group, Inc.
P R E S E N T S
---------------------
| Sounds.02 |
---------------------
For the
_ C_o m m o d o_r_e _
/\\ |\\ /| || // \ /\\
/ \\ | \\ /|| ||(< __ / \\
/--- \\| \X || || \\_||/--- \\
/______________________________\\
This disk is distributed by CUCUG (Champaign-Urbana Commodore User's Group,
Inc.). If you are not a member of our club and would like information
about obtaining more selections from our library, contact us at P.O. Box
716, Champaign, IL 61824-0716.
This is our second Amiga SOUNDS disk. This disk contains 30 different
digitally- sampled sounds from various sources. To play each sound sample,
simply point and click to its Workbench icon. The program that plays the
sound files is (appropriately enough) called "Sound" and it was written by
Richard Lee Stockton. The "docs" for that program are on the disk. As an
extra bonus, we are also including a program called "MakeSounds" which
allows you to do some simple editting of your sound files and also makes
them easier to use in your own C programming projects. The samples can all
be found in the "Sounds" drawer and include:
Boink1 HeliIdle Ow!
Boink2 Hey-You Rococo
Boink3 HolyHole Spanish
Bowman Horn ThatsIt
Buzzer Horn3 Thud
CarHorn Laugh Twist-N-Shout
Don't_Worry LowBuzzer Whistle
Drip MachineGun WomanScream
FirstLesson Magilla Woody
GoodMorning ManScream YabbaDabba
-Kevin Hisel
CUCUG Chief Librarian
Sound Doc
----------------------------------------------------------------------------
Sound is copyright (c) 1988 by Richard Lee Stockton, 21305 60th Ave W.,
Mountlake Terrace, Washington 98043, 206/776-1253(voice), but may be freely
distributed as long as no profit is made from its distribution or sale
without my written permission. I call this concept 'FreeWare', you can call
it whatcha want.
Long Live Leo and All the Little Schwabie's!
DESCRIPTION
Sound will attempt to feed <SOUNDfilename>'s data to the audio device. It
will 'sound' files containing ANY kind of data, (try 'Sound Sound' :-) and
of ANY length. If you have expansion memory, 'Sound' will store data in
FAST ram, and use only 4-5 k. of CHIP ram to actually sound the data.
If the STEREO flag is turned ON,the data will be split and played in
stereo. Otherwise, identical data is sent to left and right channels.
Perfect Sound (tm) samples in stereo will automatically sound in stereo.
These are the only stereo samples I've seen, so I don't know if the code
used is universal (in IFF) for STEREO.
If called from workbench, (by doubleclicking on a project icon), Sound will
search the 'ToolTypes' entries in the project icon for 'STEREO', 'CYCLES',
and 'SAMPLES_PER_SECOND'. If found, these values will override any IFF
values read from the SOUNDfile.
If called from CLI, over-riding values for STEREO, CYCLES, and/or
SAMPLES_PER_SECOND may be specified in the command line. (See below)
If no settings for STEREO, CYCLES, and/or SAMPLES_PER_SECOND are found, in
the file itself or in the calling arguments, STEREO defaults to OFF, CYCLES
to 1, and SAMPLES_PER_SECOND to 10000.
ABORT!
Sound may be aborted by typing <CTRL> 'c' from the keyboard.
If <CTRL> 'c' does NOT abort the sound, click on the word 'Sound' near the
left side of the top line, then <CTRL> 'c' again.
USAGE
NOTE!!! 'Sound' should be in your 'c' directory, (ie, 'copy Sound c:'),
before the following USAGEs will work!
from CLI,
Sound <SOUNDfilename> [STEREO] [CYCLES] [SAMPLES_PER_SECOND]
The filename MUST be the first argument, then the other arguments may be in
any order, or missing. (see below for valid values). Sound alone will
display a USAGE message. Sound filename, with no other arguments, will
'sound' the file, then display the SAMPLES_PER_SECOND if the file was
found. (10000 probably means it wasn't an IFF sound file.)
from WorkBench,
Double-'Click' on project icon whose Default Tool is set to 'c:Sound'.
ToolTypes: STEREO= CYCLES= SAMPLES_PER_SECOND=
Valid Values:
STEREO ON - OFF default=off. Not case sensitive.
File is split left/right.
CYCLES 0 - 99 0 = sound loops until aborted.
Use Abort Button to stop.
SAMPLES_PER_SECOND 1000 - 65535 greater than 30000 seems to have
no effect, but MAX = 64k.
ARGUMENT PRIORITIES
Arguments from CLI or in the WorkBench Icon override any IFF info. IFF
file info overrides the default values. Defaults: STEREO = off, CYCLES =
1, SAMPLES_PER_SECOND = 10000
OTHER STUFF
Included in this arc file are a sample project icon and its related data
file (Sneeze.info and Sneeze) as well as Sound, Sound.c, & this file. Feel
free to design your own icons, any project icon should work. Just make the
Default Tool in the icon 'c:Sound'.